package org.lonetree.tc.core.search;

import org.lonetree.tc.core.Book.Isbn;

/**
 * JAVADOC BookCriteria
 *
 * @author xeon
 *
 */
public class BookCriteria{
	
	private Isbn isbn;
	private String title;
	private String author;
	
	/**
	 * JAVADOC BookCriteria.BookCriteria()
	 *
	 */
	public BookCriteria(){
		this(null, null, null);
	}
	
	/**
	 * JAVADOC BookCriteria.BookCriteria()
	 *
	 * @param isbn
	 * @param title
	 * @param author
	 */
	public BookCriteria(Isbn isbn, String title, String author){
		this.isbn = isbn;
		this.title = title;
		this.author = author;
	}
	
	/**
	 * JAVADOC BookCriteria.getIsbn()
	 *
	 * @return
	 */
	public Isbn getIsbn(){
		return isbn;
	}
	
	/**
	 * JAVADOC BookCriteria.getTitle()
	 *
	 * @return
	 */
	public String getTitle(){
		return title;
	}

	/**
	 * JAVADOC BookCriteria.getAuthor()
	 *
	 * @return
	 */
	public String getAuthor(){
		return author;
	}

	/**
	 * JAVADOC BookCriteria.setIsbn()
	 *
	 * @param isbn
	 */
	public void setIsbn(Isbn isbn){
		this.isbn = isbn;
	}
	
	/**
	 * JAVADOC BookCriteria.setTitle()
	 *
	 * @param title
	 */
	public void setTitle(String title){
		this.title = title;
	}
	
	/**
	 * JAVADOC BookCriteria.setAuthor()
	 *
	 * @param author
	 */
	public void setAuthor(String author){
		this.author = author;
	}
}
